chore(deps): update module github.com/cyphar/filepath-securejoin to v0.6.0 #1106
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.4.1->v0.6.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
cyphar/filepath-securejoin (github.com/cyphar/filepath-securejoin)
v0.6.0Compare Source
This is our first release of
github.com/cyphar/filepath-securejoin,containing a full implementation with a coverage of 93.5% (the only missing
cases are the error cases, which are hard to mocktest at the moment).
v0.5.1: -- "Spooky scary skeletons send shivers down your spine!"Compare Source
Changed
openat2can return-EAGAINif it detects a possible attack in certainscenarios (namely if there was a rename or mount while walking a path with a
..component). While this is necessary to avoid a denial-of-service in thekernel, it does require retry loops in userspace.
In previous versions,
pathrs-litewould retryopenat232 times beforereturning an error, but we've received user reports that this limit can be
hit on systems with very heavy load. In some synthetic benchmarks (testing
the worst-case of an attacker doing renames in a tight loop on every core of
a 16-core machine) we managed to get a ~3% failure rate in runc. We have
improved this situation in two ways:
We have now increased this limit to 128, which should be good enough for
most use-cases without becoming a denial-of-service vector (the number of
syscalls called by the
O_PATHresolver in a typical case is within thesame ballpark). The same benchmarks show a failure rate of ~0.12% which
(while not zero) is probably sufficient for most users.
In addition, we now return a
unix.EAGAINerror that is bubbled up and canbe detected by callers. This means that callers with stricter requirements
to avoid spurious errors can choose to do their own infinite
EAGAINretryloop (though we would strongly recommend users use time-based deadlines in
such retry loops to avoid potentially unbounded denials-of-service).
v0.5.0Compare Source
This is our first release of
github.com/cyphar/filepath-securejoin,containing a full implementation with a coverage of 93.5% (the only missing
cases are the error cases, which are hard to mocktest at the moment).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.